Skip to content

Conversation

@scenee
Copy link
Owner

@scenee scenee commented Jan 28, 2020

  • Fix floatingPanelDidEndDecelerating call
    • The delegate isn't called when a decelerating animation is interrupted.
  • Modify floatingPanelDidEndDragging call
    • Ideally, it's better to define a delegate method like scrollViewDidEndDragging(_:willDecelerate:) in FloatingPanelControllerDelegate to notify whether a panel will be decelerated or not. However it's a broken change so I add this change as workaround. The delegate method definition will be improved on v2.0.

Ideally, it's better to define a delegate method like
scrollViewDidEndDragging(_:willDecelerate:) in FloatingPanelControllerDelegate
to notify whether a panel will be decelerated or not.
However it's a broken change so I add this change as workaround.
The delegate method definition will be improved on v2.0.
@scenee scenee merged commit 847b5c0 into master Jan 28, 2020
@scenee scenee deleted the fix-didenddecelerating-call branch January 28, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants